Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 1844 - QML ScaleLayout scale charges dialog to accept floats #1848

Merged
merged 5 commits into from
Apr 12, 2024

Conversation

rhinoella
Copy link
Contributor

Closes #1847

Creates a custom QML SpinBox that allows for floating-point values with a precision of 0.01.

@rhinoella rhinoella added Type: Bug General bug / issue Scope: GUI Related to the GUI labels Apr 11, 2024
@rhinoella rhinoella added the 4 DIfficulty: 4 label Apr 11, 2024
Copy link
Member

@trisyoungs trisyoungs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhinoella I appreciate the effort that you've gone to in this solution, and I completely get the logic behind it. But suuuuurely QML has a double spin box that we can use? Having to engineer this as a component for ourselves is absolutely crazy!

@rhinoella
Copy link
Contributor Author

@trisyoungs Unfortunately not! This is the accepted solution. 🤷‍♀️ Qt continues to bring more delights

@rhinoella rhinoella requested a review from trisyoungs April 12, 2024 08:29
Copy link
Member

@trisyoungs trisyoungs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rhinoella rhinoella merged commit 4534825 into develop Apr 12, 2024
10 checks passed
@rhinoella rhinoella deleted the 1847-scale-charges branch April 12, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 DIfficulty: 4 Scope: GUI Related to the GUI Type: Bug General bug / issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scale charges dialog only accepts integers
2 participants